/* pages/search/company/company.wxss */
.company-page {
  min-height: 100vh;
  background-color: #F6F6F6;


  .search {
    padding: 0 24rpx;
    display: flex;
    align-items: center;
    background-color: #fff;
    padding-bottom: 20rpx;
    position: sticky;
    top: 0;

    .input {
      flex: 1;

      .t-search__input-box--square {
        border-top-left-radius: 0;
        border-bottom-right-radius: 0;
      }
    }

    .btn {
      position: relative;
      right: 5rpx;
    }
  }

  .load-more {
    display: flex;
    justify-content: center;
    padding: 20rpx;
  }

  .empty {
    padding-top: 130rpx;
  }

  .list {
    padding: 24rpx;

    .card {
      background: #fff;
      box-sizing: border-box;
      padding: 24rpx;
      border-radius: 20rpx;

      &:not(:first-child) {
        margin-top: 20rpx;
      }

      .top {
        display: flex;
        align-items: center;

        .avatar {
          width: 100rpx;
          height: 100rpx;
          border-radius: 50%;
        }

        .name {
          margin-left: 20rpx;
          flex: 1;
          font-weight: bold;
          font-size: 34rpx;
        }
      }

      .address {
        margin-top: 20rpx;
        font-size: 28rpx;
      }

      .more {
        margin-top: 20rpx;
        display: flex;
        align-items: center;
        gap: 0 30rpx;

        &-item {
          font-size: 26rpx;
          color: #999;
        }
      }

      .btns {
        margin-top: 20rpx;
        display: flex;
        justify-content: flex-end;

        .btn {
          margin: 0;
        }
      }


    }

    .card-vip {
      background: linear-gradient(to top, #ffffff, 50%, #FFEFD2);

      .top {
        .name {
          color: #66290A;
        }
      }

      .btns {
        .btn {
          background: linear-gradient(to right, #FFE2B8, #FFC677);
          color: #66290A;
          font-weight: 400;

          &::after {
            border: none;
          }
        }
      }
    }
  }
}